package com.listen.dao;

import com.listen.model.StartFlag;
import com.listen.model.StartFlagCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.dao.DataAccessException;

public interface StartFlagMapper {
    Long countByExample(StartFlagCriteria example) throws DataAccessException;

    int deleteByExample(StartFlagCriteria example) throws DataAccessException;

    int deleteByPrimaryKey(Integer id) throws DataAccessException;

    int insert(StartFlag record) throws DataAccessException;

    int insertSelective(StartFlag record) throws DataAccessException;

    List<StartFlag> selectByExample(StartFlagCriteria example) throws DataAccessException;

    StartFlag selectByPrimaryKey(Integer id) throws DataAccessException;

    int updateByExampleSelective(@Param("record") StartFlag record, @Param("example") StartFlagCriteria example) throws DataAccessException;

    int updateByExample(@Param("record") StartFlag record, @Param("example") StartFlagCriteria example) throws DataAccessException;

    int updateByPrimaryKeySelective(StartFlag record) throws DataAccessException;

    int updateByPrimaryKey(StartFlag record) throws DataAccessException;
}